(require 'yasnippet)
(yas/initialize)
(defvar ab-config/snippets-directory (concat ab-config/home "snippets")) 
(yas/load-directory ab-config/snippets-directory)

(defun new-yas-snippet ()
  (interactive)
  (let* ((current-mode-str (format "%s" major-mode))
         (directory (concat ab-config/snippets-directory
                            "/"
                            current-mode-str
                            "/"))
         (new-filename (expand-file-name (read-file-name "Filename: " directory)
                                         directory))

         )
    (find-file new-filename)
    )
)

(defun my-remove-overlays ()
  (interactive)
  (remove-overlays)
)
